<?php

namespace app\admin\validate;

use think\Validate;

class Article extends Validate
{
    protected $rule = [
        'title|标题' => 'require|length:2,50',
        'content|内容' => 'require',
        'status|状态' => 'require|in:1,2'
    ];


}

